<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>MRtrix documentation</title>
<link rel="stylesheet" href="../stylesheet.css" type="text/css" media=screen>
</head>
<body>

<table class=nav>
<tr>
<td><a href="mrcat.html"><img src="../left.png"></a></td>
<td><a href="index.html"><img src="../up.png"></a></td>
<td><a href="../index.html"><img src="../home.png"></a></td>
<th>mrconvert</th>
<td><a href="mrinfo.html"><img src="../right.png"></a></td>
</tr>
</table>
<h2>Description</h2>
<p>
perform conversion between different file types and optionally extract a subset of the input image.
</p>
<p>
If used correctly, this program can be a very useful workhorse. In addition to converting images between different formats, it can be used to extract specific studies from a data set, extract a specific region of interest, flip the images, or to scale the intensity of the images.
</p>
<p class=indented><strong>syntax:</strong> &nbsp; &nbsp; mrconvert [ options ] input ouput </p>
<h2>Arguments</h2>
<table class=args>
<tr><td><b>input</b></td>
<td>the input image.</td></tr>
<tr><td><b>ouput</b></td>
<td>the output image.</td></tr>
</table>
<h2>Options</h2>
<table class=args>
<tr><td><b>-coord</b>&nbsp;<i>axis</i>&nbsp;<i>coord</i></td>
<td>extract data only at the coordinates specified.
<table class=opts>
<tr><td><i>axis</i></td>
<td>the axis of interest</td></tr>
<tr><td><i>coord</i></td>
<td>the coordinates of interest</td></tr>
</table></td></tr>
<tr><td><b>-vox</b>&nbsp;<i>sizes</i></td>
<td>change the voxel dimensions.
<table class=opts>
<tr><td><i>sizes</i></td>
<td>A comma-separated list of values. Only those values specified will be changed. For example: 1,,3.5 will change the voxel size along the x & z axes, and leave the y-axis voxel size unchanged.</td></tr>
</table></td></tr>
<tr><td><b>-datatype</b>&nbsp;<i>spec</i></td>
<td>specify output image data type.
<table class=opts>
<tr><td><i>spec</i></td>
<td>the data type specifier.</td></tr>
</table></td></tr>
<tr><td><b>-scale</b>&nbsp;<i>factor</i></td>
<td>apply scaling to the intensity values.
<table class=opts>
<tr><td><i>factor</i></td>
<td>the factor by which to multiply the intensities.</td></tr>
</table></td></tr>
<tr><td><b>-offset</b>&nbsp;<i>bias</i></td>
<td>apply offset to the intensity values.
<table class=opts>
<tr><td><i>bias</i></td>
<td>the value of the offset.</td></tr>
</table></td></tr>
<tr><td><b>-zero</b></td>
<td>replace all NaN values with zero.</td></tr>
<tr><td><b>-output</b>&nbsp;<i>type</i></td>
<td>specify type of output
<table class=opts>
<tr><td><i>type</i></td>
<td>type of output.</td></tr>
</table></td></tr>
<tr><td><b>-layout</b>&nbsp;<i>spec</i></td>
<td>specify the layout of the data in memory. The actual layout produced will depend on whether the output image format can support it.
<table class=opts>
<tr><td><i>spec</i></td>
<td>the data layout specifier.</td></tr>
</table></td></tr>
<tr><td><b>-prs</b></td>
<td>assume that the DW gradients are specified in the PRS frame (Siemens DICOM only).</td></tr>
<tr><td><b>-info</b></td>
<td>display information messages.</td></tr>
<tr><td><b>-quiet</b></td>
<td>do not display information messages or progress status.</td></tr>
<tr><td><b>-debug</b></td>
<td>display debugging messages.</td></tr>
<tr><td><b>-help</b></td>
<td>display this information page and exit.</td></tr>
<tr><td><b>-version</b></td>
<td>display version information and exit.</td></tr>
</table>
</body>
</html>